package com.ssm.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.util.List;

/**
 * 购物车信息;
 */
public class ShopCart {
    @JsonProperty("cart_id")
    @JsonIgnore
    BigInteger cartId;
    @JsonProperty("cart_user_id")
    @JsonIgnore
    Integer cartUserId;

    List<ShopCartInformation> shopCartInformations;

    public List<ShopCartInformation> getShopCartInformations() {
        return shopCartInformations;
    }

    public void setShopCartInformations(List<ShopCartInformation> shopCartInformations) {
        this.shopCartInformations = shopCartInformations;
    }

    public BigInteger getCartId() {
        return cartId;
    }

    public void setCartId(BigInteger cartId) {
        this.cartId = cartId;
    }

    public Integer getCartUserId() {
        return cartUserId;
    }

    public void setCartUserId(Integer cartUserId) {
        this.cartUserId = cartUserId;
    }
}
